package 对象之继承.demo01;

public class Dog extends Animal {
    public void eat() {
        System.out.println("狗会吃饭");

    }

    public void watch() {
        System.out.println("狗会看家");

    }
}
